package controller

import (
	"gin_api/core/response"
	"github.com/gin-gonic/gin"
)

type User struct {
}

func (u User) List(c *gin.Context) {
	response.New(c).SuccessWithData(map[string]interface{}{
		"username": c.GetString("username"),
	})
	return
}
